package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.StrategyDetail;
import cn.wolfcode.luowowo.article.vo.StrategyStatisVO;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Administrator on 2019/7/8.
 */
public interface IStrategyDetailService {
    PageInfo query(QueryObject qo);

    void delete(Long id);

    StrategyDetail get(Long id);

    void changeState(StrategyDetail strategyDetail);

    void saveOrUpdate(StrategyDetail strategyDetail, String tags);

    List<StrategyDetail> getDetailTop3(Long id);

    List<StrategyDetail> list();

    void updateStatisData(StrategyStatisVO vo);
}
